Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable APPROVE button if user is already approved #1348

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

waxlamp
Copy link
Member

@waxlamp waxlamp commented Oct 27, 2022

This conditionally disables the approve/reject buttons when a user's status is APPROVED/REJECTED, respectively.

Closes #1341.

Copy link
Member

@mvandenburgh mvandenburgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also disable the REJECT button when the user is already rejected? oh i see you've already brought that up in #1341

@waxlamp
Copy link
Member Author

waxlamp commented Oct 27, 2022

Should we also disable the REJECT button when the user is already rejected? oh i see you've already brought that up in #1341

I was actually asking what to do with the REJECT button for approved users (before realizing it should stay enabled), but I hadn't thought of disabling it for rejected users... added in 2d76f2d.

@waxlamp waxlamp merged commit c695e03 into master Oct 27, 2022
@waxlamp waxlamp deleted the disable-approve-button branch October 27, 2022 21:21
@dandibot
Copy link
Member

dandibot commented Nov 7, 2022

🚀 PR was released in v0.3.0 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

disable user buttons on review page
3 participants